﻿<Page x:Class="RM.WinClient.QuestionDetails"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:datagrid="http://schemas.microsoft.com/wpf/2008/toolkit"
    Title="QuestionDetails" Width="547">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <ListView HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"  Grid.Row="0" VerticalAlignment="Stretch" Name="lstVwQuestions" Loaded="lstVwQuestions_Loaded"  >
            <ListView.ItemTemplate>
                <DataTemplate>
                    <Grid Background="Transparent" >
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="30" />
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <TextBlock Text="{Binding Content}" FontSize="16" Grid.Row="0" />
                        <Grid Background="Black" Height="2"  Grid.Row="3"></Grid>
                    </Grid>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>

        <Button Content="Pause" Grid.Row="1" Name="btnStartTest" Width="150" Height="30" Click="btnStartTest_Click" ></Button>
        <Button Content="Complete Test" Grid.Row="1" Width="150" Height="30" Name="btnStop" Click="btnStop_Click" HorizontalAlignment="Right" Margin="0,22.5,28,22.5"></Button>
        <Button Content="Back" Grid.Row="1" Name="btnBack" Click="btnBack_Click"  Width="150" Height="30" HorizontalAlignment="Left" Margin="20,22.5,0,22.5"></Button>
        <TextBlock Text="Duration:"  Grid.Row="2" FontSize="16" VerticalAlignment="Center"></TextBlock>
        <TextBlock Grid.Row="2" Name="txtDuration" FontSize="16" Text="test" Margin="0,30.862,155,30.862" HorizontalAlignment="Right" Width="300"></TextBlock>
    </Grid>
</Page>
